   <?php
    /* Plugin Name: Custom Services Widget
    Plugin URI: www.websitedeveloper.org.uk
    Description: Schneidereit Custom Services Widget
    Version: 1.0
    Author: Tom Cafferkey
    Author URI: www.websitedeveloper.org.uk
    */

    class [PluginNameWithoutSpaces] extends WP_Widget {
              function [PluginNameWithoutSpaces]() {
                        $widget_ops = array(
                        'classname' => 'CustomServicesWidget',
                        'description' => 'Schneidereit Custom Services Widget'
              );

              $this->WP_Widget(
                        'CustomServicesWidget',
                        'Custom Services Widget',
                        $widget_ops
              );
    }

              function widget($args, $instance) { // widget sidebar output
                        extract($args, EXTR_SKIP);
                        echo $before_widget; // pre-widget code from theme
    EOM
echo "Test"
    EOM;
                        echo $after_widget; // post-widget code from theme
              }
    }

    add_action(
              'widgets_init',
              create_function('','return register_widget("CustomServicesWidget");')
    );
    ?>
